package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_AccountCountForWanli", catalog="Id")
public class TcwAccountCountForWanli extends BaseEntity<TcwAccountCountForWanli> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="DepositPlatformCode", nameJava="depositPlatformCode", typeDataBase="varchar")
	private String depositPlatformCode;
	@YsField(nameDataBase="CompanyVid", nameJava="companyVid", typeDataBase="varchar")
	private String companyVid;
	@YsField(nameDataBase="ExchangeRateCode", nameJava="exchangeRateCode", typeDataBase="varchar")
	private String exchangeRateCode;
	@YsField(nameDataBase="DocumentType", nameJava="documentType", typeDataBase="tinyint")
	private Integer documentType;
	@YsField(nameDataBase="DocumentBid", nameJava="documentBid", typeDataBase="varchar")
	private String documentBid;
	@YsField(nameDataBase="AccountCount", nameJava="accountCount", typeDataBase="decimal")
	private BigDecimal accountCount;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwAccountCountForWanli setId(Long id) {
		this.id = id;
		return this;
	}
	public String getDepositPlatformCode() {
		return depositPlatformCode;
	}
	public TcwAccountCountForWanli setDepositPlatformCode(String depositPlatformCode) {
		this.depositPlatformCode = depositPlatformCode;
		return this;
	}
	public String getCompanyVid() {
		return companyVid;
	}
	public TcwAccountCountForWanli setCompanyVid(String companyVid) {
		this.companyVid = companyVid;
		return this;
	}
	public String getExchangeRateCode() {
		return exchangeRateCode;
	}
	public TcwAccountCountForWanli setExchangeRateCode(String exchangeRateCode) {
		this.exchangeRateCode = exchangeRateCode;
		return this;
	}
	public Integer getDocumentType() {
		return documentType;
	}
	public TcwAccountCountForWanli setDocumentType(Integer documentType) {
		this.documentType = documentType;
		return this;
	}
	public String getDocumentBid() {
		return documentBid;
	}
	public TcwAccountCountForWanli setDocumentBid(String documentBid) {
		this.documentBid = documentBid;
		return this;
	}
	public BigDecimal getAccountCount() {
		return accountCount;
	}
	public TcwAccountCountForWanli setAccountCount(BigDecimal accountCount) {
		this.accountCount = accountCount;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwAccountCountForWanli setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwAccountCountForWanli setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwAccountCountForWanli setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwAccountCountForWanli setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwAccountCountForWanli tcwAccountCountForWanli(
		String depositPlatformCode,
		String companyVid,
		String exchangeRateCode,
		Integer documentType,
		String documentBid,
		BigDecimal accountCount,
		String remark,
		Integer status
			) {
		TcwAccountCountForWanli entity = new TcwAccountCountForWanli();
		entity.setDepositPlatformCode(depositPlatformCode);
		entity.setCompanyVid(companyVid);
		entity.setExchangeRateCode(exchangeRateCode);
		entity.setDocumentType(documentType);
		entity.setDocumentBid(documentBid);
		entity.setAccountCount(accountCount);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}